import Mock from 'mockjs'

// 平面设计
Mock.mock('/api/planeDesign', 'get', function () {
  return Mock.mock({
    code: 200,
    data: {
      // 视觉设计
      visionlist: [
        {
          id: 1,
          title: '视觉设计全进阶教程(名师教程)',
          free: '免费',
          image: require('../../src/assets/freehot.jpg'),
          study: '6677人正在学',
        },
        {
          id: 2,
          title: '视觉设计全进阶教程(名师教程)',
          price: 58,
          originPrice: 104,
          image: require('../../src/assets/hotCurriculum1.jpg'),
          study: '6677人正在学',
          discount: '限时优惠',
        },
        {
          id: 3,
          title: '视觉设计全进阶教程(名师教程)',
          free: '免费',
          image: require('../../src/assets/freehot.jpg'),
          study: '6677人正在学',
        },
        {
          id: 4,
          title: '视觉设计全进阶教程(名师教程)',
          price: 58,
          originPrice: 104,
          image: require('../../src/assets/hotCurriculum1.jpg'),
          study: '6677人正在学',
          discount: '限时优惠',
        },
        {
          id: 5,
          title: '视觉设计全进阶教程(名师教程)',
          free: '免费',
          image: require('../../src/assets/freehot.jpg'),
          study: '6677人正在学',
        },
        {
          id: 6,
          title: '视觉设计全进阶教程(名师教程)',
          price: 58,
          originPrice: 104,
          image: require('../../src/assets/hotCurriculum1.jpg'),
          study: '6677人正在学',
          discount: '限时优惠',
        },
      ],
      // 海报设计
      posterlist: [
        {
          id: 1,
          title: '海报设计全进阶教程(名师教程)',
          free: '免费',
          image: require('../../src/assets/freehot.jpg'),
          study: '6677人正在学',
        },
        {
          id: 2,
          title: '海报设计全进阶教程(名师教程)',
          price: 58,
          originPrice: 104,
          image: require('../../src/assets/hotCurriculum1.jpg'),
          study: '6677人正在学',
          discount: '限时优惠',
        },
        {
          id: 3,
          title: '海报设计全进阶教程(名师教程)',
          free: '免费',
          image: require('../../src/assets/freehot.jpg'),
          study: '6677人正在学',
        },
        {
          id: 4,
          title: '海报设计全进阶教程(名师教程)',
          price: 58,
          originPrice: 104,
          image: require('../../src/assets/hotCurriculum1.jpg'),
          study: '6677人正在学',
          discount: '限时优惠',
        },
        {
          id: 5,
          title: '海报设计全进阶教程(名师教程)',
          free: '免费',
          image: require('../../src/assets/freehot.jpg'),
          study: '6677人正在学',
        },
        {
          id: 6,
          title: '海报设计全进阶教程(名师教程)',
          price: 58,
          originPrice: 104,
          image: require('../../src/assets/hotCurriculum1.jpg'),
          study: '6677人正在学',
          discount: '限时优惠',
        },
      ],
      // 电商设计
      onlineretailerslist: [
        {
          id: 1,
          title: '电商设计全进阶教程(名师教程)',
          free: '免费',
          image: require('../../src/assets/freehot.jpg'),
          study: '6677人正在学',
        },
        {
          id: 2,
          title: '电商设计全进阶教程(名师教程)',
          price: 58,
          originPrice: 104,
          image: require('../../src/assets/hotCurriculum1.jpg'),
          study: '6677人正在学',
          discount: '限时优惠',
        },
        {
          id: 3,
          title: '电商设计全进阶教程(名师教程)',
          free: '免费',
          image: require('../../src/assets/freehot.jpg'),
          study: '6677人正在学',
        },
        {
          id: 4,
          title: '电商设计全进阶教程(名师教程)',
          price: 58,
          originPrice: 104,
          image: require('../../src/assets/hotCurriculum1.jpg'),
          study: '6677人正在学',
          discount: '限时优惠',
        },
        {
          id: 5,
          title: '电商设计全进阶教程(名师教程)',
          free: '免费',
          image: require('../../src/assets/freehot.jpg'),
          study: '6677人正在学',
        },
        {
          id: 6,
          title: '电商设计全进阶教程(名师教程)',
          price: 58,
          originPrice: 104,
          image: require('../../src/assets/hotCurriculum1.jpg'),
          study: '6677人正在学',
          discount: '限时优惠',
        },
      ],
      // 字体设计
      typefacelist: [
        {
          id: 1,
          title: '字体设计全进阶教程(名师教程)',
          free: '免费',
          image: require('../../src/assets/freehot.jpg'),
          study: '6677人正在学',
        },
        {
          id: 2,
          title: '字体设计全进阶教程(名师教程)',
          price: 58,
          originPrice: 104,
          image: require('../../src/assets/hotCurriculum1.jpg'),
          study: '6677人正在学',
          discount: '限时优惠',
        },
        {
          id: 3,
          title: '字体设计全进阶教程(名师教程)',
          free: '免费',
          image: require('../../src/assets/freehot.jpg'),
          study: '6677人正在学',
        },
        {
          id: 4,
          title: '字体设计全进阶教程(名师教程)',
          price: 58,
          originPrice: 104,
          image: require('../../src/assets/hotCurriculum1.jpg'),
          study: '6677人正在学',
          discount: '限时优惠',
        },
        {
          id: 5,
          title: '字体设计全进阶教程(名师教程)',
          free: '免费',
          image: require('../../src/assets/freehot.jpg'),
          study: '6677人正在学',
        },
        {
          id: 6,
          title: '字体设计全进阶教程(名师教程)',
          price: 58,
          originPrice: 104,
          image: require('../../src/assets/hotCurriculum1.jpg'),
          study: '6677人正在学',
          discount: '限时优惠',
        },
      ],
    },
  })
})
